﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class OrderPlaced : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        // Neu ton tai so Order (luu luc checkout) 
        if (Session["OrderNumber"] != null)
        {
            // lay so Order da luu va hien thi 
            lblOrderNumber.Text = Session["OrderNumber"].ToString();
            Session["OrderNumber"] = null;
        }
        else
        {
            // Chuyen huong ve trang chu 
            Response.Redirect("~/");
        }
    }
}